﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelectPopulation.aspx.cs" Inherits="Gmis.Web.Manage.Affairs.SelectPopulation" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
  <form id="pagerForm" method="post" action="Affairs/SelectPopulation.aspx">
    <input type="hidden" name="status" value="status" />
    <input type="hidden" name="keywords" value="keywords" />
    <input type="hidden" name="numPerPage" value="<% =NumPerPage %>" />
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="orderField" value="" />
    </form>
    <div class="pageHeader">
        <!--<搜索栏>-->
        <form onsubmit="return navTabSearch(this);" action="Affairs/SelectPopulation.aspx" method="post">
        <div class="searchBar">
            <ul class="searchContent">
                <li>
                    <label>姓名：</label>
                    <input name="FName" type="text" value="<%=FName %>" />
                </li>
            </ul>
            <div class="subBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">检索</button>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        </form>
        <!--</搜索栏>-->
    </div>
    <div class="pageContent">      
        <table class="table" width="100%"  >
            <thead>
                <tr>                   
                    <th width="80">姓名</th>
                    <th width="80">性别</th>
                    <th width="80">年龄</th>
                    <th width="80">学历</th>
                    <th width="80">民族</th>    
                    <th width="80">出生年月</th>
                    <th width="80">籍贯</th>                 
                    <th width="80">操作</th>
                    <th width="80">查找带回</th>
                </tr>
            </thead>
            <tbody>
                <asp:Repeater ID="RepeaterTr" runat="server">
                    <ItemTemplate>
                        <tr style="height:40px">                                                       
                           <td><%# DataBinder.Eval(Container.DataItem, "sName")%></td>
                            <td><%# DataBinder.Eval(Container.DataItem, "sSex")%></td>                          
                            <td><%# DataBinder.Eval(Container.DataItem, "nAge")%></td>
                            <td><%# DataBinder.Eval(Container.DataItem, "sEducation")%></td>
                            <td><%# DataBinder.Eval(Container.DataItem, "sNation")%></td>
                            <td><%# DataBinder.Eval(Container.DataItem, "dBorn","{0:yyyy-MM-dd}")%></td> 
                            <td><%# DataBinder.Eval(Container.DataItem, "sNative")%></td>                                
                            <td>
                               <a class="btnSelect" 
                               href="javascript:$.bringBack({sId:'<%# DataBinder.Eval(Container.DataItem, "sId")%>', 
                                     sName:'<%# DataBinder.Eval(Container.DataItem, "sName")%>',
                                     sSex:'<%# DataBinder.Eval(Container.DataItem, "sSex")%>',
                                     sEducation:'<%# DataBinder.Eval(Container.DataItem, "sEducation")%>',
                                     sNation:'<%# DataBinder.Eval(Container.DataItem, "sNation")%>',
                                     sIdentity:'<%# DataBinder.Eval(Container.DataItem, "sIdentity")%>',
                                     sPolitics:'<%# DataBinder.Eval(Container.DataItem, "sPolitics")%>',
                                     sLive:'<%# DataBinder.Eval(Container.DataItem, "sLive")%>',
                                     sMarry:'<%# DataBinder.Eval(Container.DataItem, "sMarry")%>',                                    
                                     sMobile:'<%# DataBinder.Eval(Container.DataItem, "sMobile")%>',
                                     sAddress:'<%# DataBinder.Eval(Container.DataItem, "sAddress")%>'})" 
                               title="查找带回">选择</a>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
        </table>
   
        <div class="panelBar">
            <div class="pages">
                <span>显示</span>
                <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">       
                    <option value="<%=NumPerPage%>"></option>   
                    <option value="20">20</option>
                    <option value="30">30</option>
                    <option value="50">50</option>
                    <option value="100">100</option>
                </select>
                <span>条，共<%=TotalCount%>条</span>
            </div>
            <div class="pagination" targettype="navTab" totalcount="<%=TotalCount%>" numperpage="<%=NumPerPage%>"
                pagenumshown="<%=PageNumShown%>" currentpage="<%=PageNum%>">
                "></div>
        </div>
    </div>
</body>
</html>
